projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d04cec
)
Make info-look try to use more recent Python manual
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 12 Aug 2021 15:20:35 +0000
(17:20 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 12 Aug 2021 15:20:35 +0000
(17:20 +0200)
* lisp/info-look.el: Use the Debian-installed python3.9 manual if
it exists (bug#31405).
lisp/info-look.el
patch
|
blob
|
history
diff --git
a/lisp/info-look.el
b/lisp/info-look.el
index 72de0a4acb73b442fe960cd0656ac8c41487738f..72db4f0c4afe78ce69e4451da9545698e1125451 100644
(file)
--- a/
lisp/info-look.el
+++ b/
lisp/info-look.el
@@
-902,7
+902,9
@@
Return nil if there is nothing appropriate in the buffer near point."
(info-lookup-maybe-add-help
:mode 'python-mode
- :doc-spec '(("(python)Index")))
+ :doc-spec `((,(if (Info-find-file "(python3.9)Index" t)
+ "(python3.9)Index"
+ "(python)Index"))))
(info-lookup-maybe-add-help
:mode 'cperl-mode